<?=form_open_multipart(base_url().'admin/trailors/edit') ?>
<table cellspacing="" border='0' id='tableadmin'>
	<tr>
		<th colspan='9' >Trailors</th>
	</tr>
	
	<tr>
		<th>S.No</th>
		<th>Trailors</th>
		<th>preview image</th>
		<th>Edit</th>
		<th>Delete</th>
	</tr>
	<? $count=0; foreach($details as $row): $count++; ?>
	<tr>
	<td><? echo $count; ?></td>
	<td><?=$row->movie_name ?></td>
	<td align='center'><img src="<?=base_url()?>assets/trailors/preview_image/trai_imge<?=$row->t_id?>_thumb.jpg"></td>
	<td><a href="<?=base_url();?>admin/trailors/edit/<?=$row->t_id?>">edit</a></td>
	<td><a href="<?=base_url();?>admin/trailors/delete/<?=$row->t_id?>">delete</a></td>
	</tr>
	<? endforeach; ?>
	


</table>
<?=form_close()?>